Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

while()

Description Controls a sequence of repetitions. The while structure executes a series of statements continuously while the expression is true. The expression must be updated during the repetitions or the program will never "break out" of while().
Syntax
while(expression) {
  statements
}
Parameters
expression a valid expression
statements one or more statements
Usage Application
Related for()
Updated on September 16, 2010 09:17:15pm PDT

Creative Commons License